<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h4>表单元素</h4>
    <form action="xxx.php" method="get">
        用户名1：<input type="text" name="username" id=""><br>
        密码1: <input type="password" name="pwd"><br>
        用户名2：<input type="text" placeholder="请输入用户名" id=""><br>
        密码2: <input type="password" placeholder="请输入密码"><br>

        <input type="submit" value="提交">
        <input type="reset" value="重置">
        <input type="button" value="普通按钮">
    </form>
    <br>
    <!-- 单选框 -->
    性别：  <input type="radio" name="sex">男
    <input type="radio" name="sex" checked>女
    <input type="radio" name="sex">保密
    <br>
    <!-- 多选框 -->
    菜单：<input type="checkbox"name="food">酱板鸭
         <input type="checkbox"name="food">糖醋里脊
         <input type="checkbox"name="food">算熘土豆丝
    <br>
    <!-- 文本域 -->
    <textarea style="resize: none;width:300px;height: 200px;" name="" id="" cols="" rows=""></textarea>
</body>
</html>